.row
  .span3
    = render 'people_filter'
  .span9
    - if can?(current_user, :manage_group, @group)
      = render (@project ? "new_member" : "new_group_member")
    .ui-box
      %h5.title
        Team
        %small
          (#{@users.size})
      %ul.well-list
        - @users.each do |user|
          %li
            = image_tag gravatar_icon(user.email, 16), class: "avatar s16"
            %strong= user.name
            %span.cgray= user.email
            - if @group.owner == user
              %span.btn.btn-small.disabled.pull-right Group Owner

